package com.computerroom.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ZhouShuang
 * @version 17
 * @Title
 * @date 2025/6/9 下午3:02
 */
public class ComputerRoom implements Serializable {
    private Integer id; //机房编号
    private String roomName; //机房名称
    private Integer computerNumber; //机房数量
    private String manager;  //机房管理员
    private String location; //机房位置
    private Date buildTime; //机房建设时间
    private Integer state; //机房状态 1.使用 2.空闲 3.维护
    private String stateName; //机房状态名称

    public ComputerRoom(Integer id, String roomName, Integer computerNumber, String manager, String location, Date buildTime, Integer state,String stateName) {
        this.id = id;
        this.roomName = roomName;
        this.computerNumber = computerNumber;
        this.manager = manager;
        this.location = location;
        this.buildTime = buildTime;
        this.state = state;
        this.stateName = stateName;
    }

    public ComputerRoom(){

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public Integer getComputerNumber() {
        return computerNumber;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public void setComputerNumber(Integer computerNumber) {
        this.computerNumber = computerNumber;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Date getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(Date buildTime) {
        this.buildTime = buildTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
